package sampletest;

public class Album {
    private String group;
    private String title;

    public Album(String group, String title) {
        this.group = group;
        this.title = title;
    }

    public String getGroup() {
        return group;
    }

    public String getTitle() {
        return title;
    }

    @Override
    public String toString() {
        return title + " by " + group;
    }
}
